<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="../css/my.css">
<link rel="stylesheet" type="text/css" href="../css/my_right.css">
<script type="text/javascript"> 
function openAction(){ 
	window.open('img_upload.jsp','添加相片','scrollbars=yes,width=800,height=600,alwaysRaised=1'); 
} 
</script> 
</head>
<body>

<div id='header'>			
	<jsp:include page="../common/header.jsp"></jsp:include>
</div>
<div id='main_play'>
	<div id='main_left'>
		<jsp:include page="my_left.jsp"></jsp:include>
	</div>
	<div id='main_right' align="left">
	<form action="" method="post" name="pageForm">

		<div id="right_local">
			<div style="text-align: center;"><font face="华康娃娃体W5(P)" size="6">个人相册</font></div>
			<div align="right">
				<a href="javascript:void(0)"  onclick="openAction();">
				
					<font face="华康娃娃体W5(P)" size="4">上传相片</font>
				</a>
			</div>
			
			<div class="pic">
				<div class="detail" >
					<ul>
					<c:forEach items="${imageList}" var="imge">
						<li>
						<div class="goods">
							<img src="../uploadimge/${imge.img }"  width="180" height="180"  border="0"/>
						</div>
						<div class="imgname">
							好看的图片&nbsp;&nbsp;
							<a href="memberImge.do?method=delete&id=${imge.id }">删除</a>
							<a href="memberImge.do?method=update&id=${imge.id }">设为头像</a>
						</div>
						</li>
					</c:forEach>
    				</ul>  
				</div>
			</div>
			
			
		</form>
	</div>
</div>

<div id='footer'></div>





</body>
</html>